$OpenBSD: patch-configure_ac,v 1.1 2012/12/13 15:43:11 naddy Exp $
--- configure.ac.orig	Thu Dec 13 16:07:03 2012
+++ configure.ac	Thu Dec 13 16:07:04 2012
@@ -854,6 +854,8 @@ ICE_CHECK_DECL(pclose, stdio.h)
 AH_TEMPLATE([HAVE_PCLOSE_DECL],[Define if pclose is declared in stdio.h.])
 ICE_CHECK_DECL(popen, stdio.h)
 AH_TEMPLATE([HAVE_POPEN_DECL],[Define if popen is declared in stdio.h.])
+ICE_CHECK_DECL(posix_openpt, stdlib.h)
+AH_TEMPLATE([HAVE_GETPT_DECL],[Define if posix_openpt is declared in stdlib.h.])
 ICE_CHECK_DECL(ptrace, unistd.h sys/ptrace.h)
 AH_TEMPLATE([HAVE_PTRACE_DECL],[Define if ptrace is declared in unistd.h sys/ptrace.h.])
 ICE_CHECK_DECL(ptsname, stdlib.h)
